package com.weibo.dao;

import com.weibo.pojo.Tuser;

public interface IUserDao {

	public Tuser getUserById(Integer userId);

	public boolean isExistUser(Tuser user)throws Exception;

	public boolean isExistUser(String userName)throws Exception;

	public void saveUser(Tuser user)throws Exception;

	public Tuser getUserByName(String userName)throws Exception;
	
}
